package com.wmx.event;

import lombok.Getter;
import lombok.ToString;
import org.springframework.context.ApplicationEvent;

/**********************************
 * @author wmx
 * @date 2019/9/25 9:58
 * @description:
 * @version 1.0
 ************************************/
@Getter
@ToString
public class CustomEvent extends ApplicationEvent {
    private MessageEntity messageEntity ;
    public CustomEvent(Object source,MessageEntity messageEntity) {
        super(source);
        this.messageEntity = messageEntity ;
    }

}
